//
//  Extra4ViewController.h
//  ToucheTouche
//
//  Created by polytech Polytech on 11/01/12.
//  Copyright (c) 2012 Polytech. All rights reserved.
//

#import <UIKit/UIKit.h>

@class GameAventureViewController;

@protocol Extra4ViewControllerDelegate <NSObject>
@optional

@end

@interface Extra4ViewController : UIViewController <UIAlertViewDelegate> {
    float score;
    NSInteger temps;
    NSInteger nbImages;
    NSTimer *chrono;
    UIAlertView *alertLevel;
}

@property (nonatomic, retain) UIAlertView *alertLevel;

@property (nonatomic, assign) float score;
@property (nonatomic,assign) NSInteger temps;
@property (nonatomic,assign) NSInteger nbImages;

@property (retain, nonatomic) IBOutlet UIButton *button;
@property (retain, nonatomic) IBOutlet UIImageView *imageView;
@property (retain, nonatomic) IBOutlet UILabel *labelScore;
@property (retain, nonatomic) IBOutlet UILabel *labelTemps;

@property (nonatomic, retain) id <Extra4ViewControllerDelegate> delegate;
@property (nonatomic, retain) GameAventureViewController *gameAventureViewController;

- (IBAction)actionImage;
- (void)timer :(NSInteger) tmp;
- (void)stopTimer;
- (void) updateTimer: (NSTimer *) aTimer;
@end
